package com.woniuxy.util;

import org.apache.shiro.crypto.hash.SimpleHash;

public class Encrypt {
    Integer hashIterations =1024;
    String salt=null;
    public  String getEncrypt(String password){
//        Object result= new SimpleHash("md5",password,salt,hashIterations);
//        String res=result.toString();
    return new SimpleHash("md5",password,salt,hashIterations).toString();
}
}
